<?php
/**
 * LICENSE
 *
 * Copyright (C) 2010 Nicholas Miller
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or any
 * later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Transaction Refund Request
 *
 * @author     Nicholas Miller <nicholas.j.miller@gmail.com>
 * @copyright  2010 Nicholas Miller
 * @category   PaypalSoap
 * @package    Type
 */
class PayPalSoap_Type_RefundTransactionRequest extends PayPalSoap_Type_Abstract
{
    /**
     * Unique identifier of the transaction you are refunding.
     * @var string
     */
    public $TransactionID;

    /**
     * Invoice number corresponding to transaction details for tracking the refund of a
     * payment. This parameter is passed by the merchant or recipient while refunding
     * the transaction. This parameter does not affect the business logic, it is
     * persisted in the DB for transaction reference
     * @var string
     */
    public $InvoiceID;

    /**
     * Type of refund you are making
     * Either Full or Partial
     */
    public $RefundType;

    /**
     * Refund amount.
     * Only needs to supplied when refund type is partial
     * @var float
     */
    public $Amount;

    /**
     * Custom memo about the refund.
     * @var string
     */
    public $Memo;
}

